package com.project.springboot.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * description: 自定义日志注解
 * @author 朱正磊
 * @date 2025-05-12 14:33:27
 */
@Target(METHOD)
@Retention(RUNTIME)
@Documented
public @interface Log {

    String value() default "";

    boolean recordParams() default true;

    boolean recordResult() default true;

}
